<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{{ article.title }}</title>
    <style>
        body {
            font-family: "Microsoft YaHei", "SimSun", sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        .title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .meta {
            color: #666;
            font-size: 14px;
            margin-bottom: 20px;
        }
        .content {
            font-size: 16px;
        }
        .content img {
            max-width: 100%;
            height: auto;
            margin: 10px 0;
        }
        .content p {
            margin: 10px 0;
        }
        .footer {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
            text-align: center;
            font-size: 12px;
            color: #999;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="title">{{ article.title }}</div>
        <div class="meta">
            <span>作者：{{ article.author }}</span>
            <span>发布时间：{{ article.create_time.strftime('%Y-%m-%d %H:%M:%S') }}</span>
        </div>
    </div>
    <div class="content">
        {{ article.content|safe }}
    </div>
    <div class="footer">
        <p>本文由微信公众号文章采集系统生成</p>
        <p>生成时间：{{ now.strftime('%Y-%m-%d %H:%M:%S') }}</p>
    </div>
</body>
</html> 